import App from './App'
// 引入uView
import uView from '@/uni_modules/uview-ui';
Vue.use(uView);

import all from 'utils/myFunction.js'
Vue.prototype.$all = all
import config from 'utils/config.js'
Vue.prototype.$config = config
import ajax from 'utils/ajax.js';
Vue.prototype.$ajax = ajax
import store from '@/store/index.js'
Vue.prototype.$store = store
import staticData from '@/utils/staticData.js'
Vue.prototype.$staticData = staticData


// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif